target,flash: allow target_free_working_area on NULL area pointer