Mark std.string.chompPrefix and its unittests as @safe and pure

Currently I cannot mark one of the unittest as safe because `std.conv.to` for string to string conversion cannot be safe (See Issue #1491).
If #1491 is merged, I will send another request to mark it as safe.