Little optimizations in the IPacketReceiveListener of the XBeeDevice class.
Little optimizations in the IPacketReceiveListener of the XBeeDevice class.

- Removed a redundant call and an unnecessary check method.

Signed-off-by: Diego Escalona <2cc07d4527ddb8161307b5e41bc6a82cc360f0ff@digi.com>

GUBotDev/XBeeJavaLibrary,digidotcom/XBeeJavaLibrary,brucetsao/XBeeJavaLibrary