scram-project-build.file: fix processing of debug symbols

  - fix objcopy syntax for debug symbols
  - check that a directory exists before processing it for debug symbols