am f3772351: am a865f6d8: fix mkbootfs for systems that lack PATH_MAX

* commit 'f3772351e75ce7e7d117fc4e31bde0c243581316':
  fix mkbootfs for systems that lack PATH_MAX