am: support --empty=<option> to handle empty patches