Brian Magee has been banned from boxing for six months after testing positive for the banned substance oxilofrine.