Patches for check_ifstatus perfdata bug [sf#1767324] [#827]