skip passing empty hashrefs, arrayrefs to WriteMakefileArgs

This was resulting in ugly prereqs in META.json like:

    "prereqs" : {
       "build" : {
          "requires" : {}
       },
       "test" : {
          "requires" : {}
       },
       ...
    },