[PATCH] De-constify hashtable lookup to prevent compiler warning