am a865f6d8: fix mkbootfs for systems that lack PATH_MAX

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