osxstrip: remove a redundant function