block, bfq: port commit "cfq-iosched: improve hw_tag detection"