remoteproc: avoid stack overflow in debugfs file