app/test: fix resource creation with objcopy on FreeBSD