Make define-package macro expansion more backwards compatible

Only include `:local-nicknames` as an argument to `ensure-package` if it is
non-NIL.

Fixes #84
1 job for !189 with iss84-define-package
latest detached
Status Name Job ID Coverage
  Test
passed Standard pipeline