fix compilation

error message was: `apns.go:440: function ends without a return statement`