desklink: Fix %ld being used instead of B_PRId32

Also enables -Werror.