nodedb.py: stop similar mac address check when parts are not equal

According to profiling results the "is_derived_mac" method is the most called, most time consuming function in ffmap-backend, except for the rrdtool image generation. The following patch contains a simple optimization, skipping the main part of the function if none manipulated parts of the mac address are not equal.