24-hour custody clock starts when liberty is curtailed, not when cops record arrest: Karnataka high court