menu.c: allow call to x-popup-window with nil on Aquamacs