readahead: check hashmap isn't empty before ordering

Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com>