map_new_apbs: downsize grid on error (-6, -9)

Both error codes seem to indicate insufficient memory